import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

export default new Vuex.Store({
  state: {
	userList:[]
  },
  mutations: {
	  setUserList(state,data){
		  state.userList = data
	  }
  },
  actions: {
	checkUser(context,nickname){
		/* 需要拿到异步操作的结果 */
		
	}
  },
  modules: {},
});
